-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: v8 Bot #621
feat: v8 Bot #621
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes that are within my range of knowledge
EDIT: I made a mistake; I edited vbot 4.7 instead of vbot 4.8, sorry.
First time I'm doing this on GitHub xd
local voc | ||
if text:lower():find("sorcerer") then | ||
voc = "MS" | ||
elseif text:lower():find("druid") then | ||
voc = "ED" | ||
elseif text:lower():find("knight") then | ||
voc = "EK" | ||
elseif text:lower():find("paladin") then | ||
voc = "RP" | ||
end | ||
local creature = getCreatureByName(name) | ||
if creature then | ||
creature:setText("\n" .. level .. voc .. "\n" .. guild) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local voc | |
if text:lower():find("sorcerer") then | |
voc = "MS" | |
elseif text:lower():find("druid") then | |
voc = "ED" | |
elseif text:lower():find("knight") then | |
voc = "EK" | |
elseif text:lower():find("paladin") then | |
voc = "RP" | |
end | |
local creature = getCreatureByName(name) | |
if creature then | |
creature:setText("\n" .. level .. voc .. "\n" .. guild) | |
end | |
local voc | |
if text:lower():find("sorcerer") then | |
voc = "MS" | |
elseif text:lower():find("druid") then | |
voc = "ED" | |
elseif text:lower():find("knight") then | |
voc = "EK" | |
elseif text:lower():find("paladin") then | |
voc = "RP" | |
end | |
if not voc then | |
return false | |
end | |
local creature = getCreatureByName(name) | |
if creature then | |
creature:setText("\n" .. level .. voc .. "\n" .. guild) | |
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not voc then
return false
end
fix this in custom server or old protocol
ERROR: [BOT] [string "/vBot/extras.lua"]:608: attempt to concatenate local 'voc' (a nil value)
@@ -36,5 +37,7 @@ Module | |||
- game_unjustifiedpoints | |||
- game_shaders | |||
- game_attachedeffects | |||
- client_profiles | |||
- game_bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- game_bot | |
- game_bot | |
- game_itemselector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anchors.verticalCenter: prev.verticalCenter | ||
|
||
Groups < FlatPanel | ||
size: 150 90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size: 150 90 | |
size: 150 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text: BotServer Members | ||
|
||
Vocations < FlatPanel | ||
size: 100 90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size: 100 90 | |
size: 100 100 |
ui.title.onClick = function(widget) | ||
config.enabled = not config.enabled | ||
widget:setOn(config.enabled) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ui.title.onClick = function(widget) | |
config.enabled = not config.enabled | |
widget:setOn(config.enabled) | |
end | |
ui.title.onClick = function(widget) | |
if not modules.client_options.getOption('enableAudio') and not config.enabled then | |
warning("Remember to activate sound in options ") | |
end | |
config.enabled = not config.enabled | |
widget:setOn(config.enabled) | |
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version 4.7 will be removed and wait for me to finish this PR so that the community can open new PR related to the bot. |
How is this implementation going? I'm dying to try it xD |
finished at 85%, now it's up to the community, I'll do the merge soon. |
I think there is an error . the folders do not exist:
in the pr |
sorry, mod has gitignore. fixed |
* fix: missing font [1] * fix: Error console [2] * fix: impossible to click checkbox [3] * fix: crash (patch solution) [4] * cleaning: remove incessant print [5] * Fix: isEnabledWASD was only updated on login * fix: Panels/widgets not saving positions #703 * fix: No websocket
Sponsored By:
@luanluciano93
@SkullzOTS
@kokekanon
@FranciskoKing
@Kizuno18